<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
	<head>
		<script type="text/javascript" src="/deng/include/include-css.js"></script>
		<link href="/deng/source/css/bootlist.css" rel="stylesheet" type="text/css" />
		<title>路由模块</title>
	</head>
	<body>
		<div class="m-content jehc-content-1">
			<div class="m-portlet">
				<div class="m-portlet__head">
					<div class="m-portlet__head-caption">
						<div class="m-portlet__head-title">
							<h3 class="m-portlet__head-text">
								<span class="m-accordion__item-icon"><i class="flaticon-search"></i>查询区域</span>
							</h3>
						</div>
					</div>
				</div>
				<!--begin::Form-->
				<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed " method="POST" id="searchForm" onsubmit="search('datatables');return false;">
					<div class="m-portlet__body">
						<div class="form-group m-form__group row">
							<label class="col-form-label">名称:</label>
							<div class="col-lg-2">
								<input type="text" class="form-control" name="title" placeholder="请输入">
							</div>
							<label class="col-form-label">路由id:</label>
							<div class="col-lg-2">
								<input type="text" class="form-control" name="route_id" placeholder="请输入">
							</div>
							<label class="col-form-label">类型:</label>
							<div class="col-lg-2">
								<select class="form-control" name="type">
									<option value="">请选择</option>
									<option value="0">站内</option>
									<option value="1">站外</option>
									<option value="2">未知</option>
								</select>
							</div>
							<label class="col-form-label">所属模块:</label>
							<div class="col-lg-2">
								<select class="form-control" name="modules_id" id="modules_id">
									<option value="">请选择</option>
								</select>
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-form-label">断言:</label>
							<div class="col-lg-2">
								<input type="text" class="form-control" name="route_predicates" placeholder="请输入">
							</div>
							<label class="col-form-label">过滤器:</label>
							<div class="col-lg-2">
								<input type="text" class="form-control" name="route_filters" placeholder="请输入">
							</div>
							<label class="col-form-label">状态:</label>
							<div class="col-lg-2">
								<select class="form-control" name="status">
									<option value="">请选择</option>
									<option value="0">启用</option>
									<option value="1">关闭</option>
								</select>
							</div>
							<a href="javascript:search('datatables')" class="btn btn-light-primary font-weight-bold mr-2">
								<span><i class="fa fa-search"></i><span>检&nbsp;&nbsp;索</span></span>
							</a>
							<a href="javascript:resetAll();" class="btn btn-light-success font-weight-bold mr-2">
								<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
							</a>
						</div>
					</div>
					<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
						<div class="m-form__actions m-form__actions--solid">
							<div class="row">
								<div class="col m--align-left">
									<a class="btn btn-light-primary m-btn m-btn--custom m-btn--icon" onclick="toDynamicRouteAdd()">
										<span><i class="la la-plus la-lg"></i><span>新增</span></span>
									</a>
									<a class="btn btn-light-success m-btn m-btn--custom m-btn--icon" onclick="toDynamicRouteUpdate()">
										<span><i class="fa fa-magic fa-lg"></i><span>修改</span></span>
									</a>
									<a class="btn btn-light-danger m-btn m-btn--custom m-btn--icon" onclick="delDynamicRoute()">
										<span><i class="fa fa-times"></i><span>删除</span></span>
									</a>
								</div>
								<div class="col m--align-right">
									<a class="btn btn-light-warning font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" href="javascript:search('datatables')">
										<span><i class="fa fa-spin fa-refresh m-r-5"></i><span>刷 新</span></span>
									</a>
								</div>
							</div>
						</div>
					</div>
				</form>
				<!--end::Form-->
			</div>
			<table id="datatables" class="table table-bordered table-striped table-hover">
				<thead>
				<tr>
					<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkall" /><span></span></label></th>
					<th>序号</th>
					<th>名称</th>
					<th>路由id</th>
					<th>转发顺序</th>
					<th>状态</th>
					<th>类型</th>
					<th>所属模块</th>
					<th>创建人</th>
					<th>创建时间</th>
					<th>修改人</th>
					<th>修改时间</th>
					<th>操作</th>
				</tr>
				</thead>
			</table>
		</div>
	</body>
	<script type="text/javascript" src="/deng/include/include.js"></script>
	<script type="text/javascript" src="/deng/view/omp/route/dynamic-route/dynamic-route-list.js"></script>
</html>
